package com.zmzncs.lmtc.module.customer.pojo.card_record;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;

/**
 * <p>
 * 客户-车辆服务实时状态购买记录
 * </p>
 *
 * @author 任建波
 * @since 2020-10-12
 */
@Data
public class CardRecordDTO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "订单号")
    private String orderCode;

    @ApiModelProperty(value = "手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "卡类型（1：普通月租卡，2：定制卡，3时长卡）")
    private Integer cardType;

    @ApiModelProperty(value = "用户优惠券ID")
    private Long ticketId;

    @ApiModelProperty(value = "客户id")
    private Long customerId;

    @ApiModelProperty(value = "手机号")
    private String carNumber;

    @ApiModelProperty(value = "会员卡id")
    private Long cardId;

    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    @ApiModelProperty(value = "支付状态（0：待支付，1：已支付，2：取消支付）")
    private Integer payStatus;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal receivableAmount;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "月租类型（1：月付，2：季付，3：年付）")
    private Integer monthRentType;

    @ApiModelProperty(value = "中萌停车场月租类型（1：全天年卡，2：全天季卡，4：全天月卡，100：白天月卡，110：夜间月卡）")
    private Integer uniformRentType;

    @ApiModelProperty(value = "定制卡优惠比列")
    private BigDecimal customizeCardRate;

    @ApiModelProperty(value = "时长（小时）")
    private Integer duration;

    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @ApiModelProperty(value = "到期时间")
    private Date expireTime;

    @ApiModelProperty(value = "车场注册来源（1：泊链，2：咪网，3：道尔，4：腾达 ）")
    private Integer parkSource;

    @ApiModelProperty(value = "白天卡/夜间卡每天开始时间")
    private Time dayBeginTime;

    @ApiModelProperty(value = "白天卡/夜间卡每天结束时间")
    private Time dayEndTime;

    @ApiModelProperty(value = "到期时间")
    private Integer isPaidToPark;

    @ApiModelProperty(value = "给停车场打款交易流水号")
    private Integer paidToParkTradeNo;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "消费项目")
    private String useType;

    @ApiModelProperty(value = "车辆id")
    private Long carId;

    @ApiModelProperty(value = "会员昵称")
    private String nickname;

    @ApiModelProperty(value = "车牌号")
    private String carNum;

    @ApiModelProperty(value = "已停车天数")
    private Long useDay;

    @ApiModelProperty(value = "服务剩余天数")
    private Long surplusDay;

    @ApiModelProperty(value = "停车场Id")
    private Long parkId;

    private Long cardRecordParkId;
}
